<template>
  <div class="home-container">
    <!-- 英雄区域 -->
    <section class="hero-section">
      <div class="hero-overlay"></div>
      <div class="hero-content">
        <h1 class="hero-title">集成医疗诊断平台</h1>
        <p class="hero-subtitle">多项智能诊断，助力精准医疗</p>
        <div class="hero-description">
          <p>本平台集成乳腺癌、宫颈癌等诊断服务，支持Excel表格与图片影像多模态输入</p>
          <p>基于深度学习模型驱动，安全高效，为临床医疗提供智能化辅助诊断方案</p>
        </div>
        <div class="hero-buttons">
          <button class="primary-button" @click="scrollToSection('features')">开始使用</button>
          <button class="secondary-button" @click="scrollToSection('features')">了解更多</button>
        </div>
      </div>
      <div class="hero-image">
        <!-- 医疗相关SVG图标 -->
        <div class="animation-container">
          <div class="pulse-circle"></div>
          <div class="pulse-circle delay-1"></div>
          <div class="pulse-circle delay-2"></div>
          <div class="medical-icon">
<!--            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="120" height="120">-->
<!--              <path fill="none" stroke="#ffffff" stroke-width="1.5"-->
<!--                    d="M12,21 L12,12 M12,12 L12,3 M12,12 L21,12 M12,12 L3,12"/>-->
<!--              <circle cx="12" cy="12" r="10" fill="none" stroke="#ffffff" stroke-width="1.5"/>-->
<!--            </svg>-->
            <img src="../assets/img.png" class="circle-img">
        </div>
      </div>
    </div>
    </section>

    <!-- 介绍区域 -->
    <section class="intro-section" id="features">
      <div class="section-header">
        <h2>专业诊断，智能医疗</h2>
        <p>集成多种疾病筛查模型，提供高效精准的诊断服务</p>
      </div>
      
      <div class="feature-cards">
        <!-- 乳腺癌诊断卡片 -->
        <div class="feature-card" @click="navigateTo('breast-cancer')">
          <div class="card-icon breast-icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="40" height="40">
              <path fill="#ff6b98"
                    d="M19,12h-2v3h-3v2h3v3h2v-3h3v-2h-3V12z M12,2C6.48,2,2,6.48,2,12s4.48,10,10,10c0.96,0,1.89-0.13,2.78-0.38 C14.4,20.8,14,19.94,14,19v-2.04c-0.95,0.04-1.92,0.04-2.84-0.06c-1.48-0.16-2.76-0.57-3.4-1.39c-0.91-1.15-0.9-2.92-0.54-4.33 c0.36-1.42,1.26-2.84,2.77-3.95C11.53,6.04,13.16,5,15,5c0.95,0,1.84,0.22,2.67,0.53C17.24,5.19,16.66,5,16,5 c-1.66,0-3,1.34-3,3c0,1.66,1.34,3,3,3c1.66,0,3-1.34,3-3c0-0.66-0.19-1.24-0.53-1.67C19.78,7.83,20,8.72,20,9.67 c0,1.84-1.04,3.47-2.23,5c-1.11,1.51-2.53,2.41-3.95,2.77c-1.42,0.36-3.19,0.37-4.33-0.54c-0.15-0.12-0.32-0.42-0.45-0.72 C8.87,15.43,8.7,14.53,9,14c0.38-0.68,1.11-0.82,1.73-0.55c0.62,0.27,1.13,0.9,1.04,1.6c-0.08,0.53-0.56,0.95-1.27,0.95 c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2c0.41,0,0.8,0.13,1.12,0.34c0.13-0.57,0.27-1.13,0.43-1.69C11.03,10.22,10.03,10,9,10 c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4c2.74,0,5.1-0.86,6.91-2.31C14.73,17.33,13.41,19.12,12,21c0.86,0,1.73-0.09,2.57-0.26 c0.31-0.06,0.62-0.04,0.91,0.09C16.71,21.35,18.29,22,20,22c1.66,0,3-1.34,3-3c0-0.95-0.39-1.84-1.09-2.41 C21.97,16.21,22,15.61,22,15C22,8.7,17.3,3.43,11.15,3.02C11.43,3.01,11.71,3,12,3c4.97,0,9,4.03,9,9C21,12,20.99,12,20.99,12H19z"/>
            </svg>
          </div>
          <h3 class="card-title">乳腺癌诊断</h3>
          <p class="card-description">
            乳腺癌是全球女性中最常见的恶性肿瘤之一，早期筛查对于高危人群至关重要。平台支持表格与影像多模态分析，助力乳腺癌的早发现、早诊断、早治疗。</p>
          <div class="card-action">
            <span>开始诊断</span>
            <el-icon>
              <ArrowRight/>
            </el-icon>
          </div>
        </div>
        
        <!-- 宫颈癌诊断卡片 -->
        <div class="feature-card" @click="navigateTo('cervical-cancer')">
          <div class="card-icon cervical-icon">
            <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="40" height="40">
              <path fill="#4a86e8"
                    d="M10.94,8.12L7.48,4.66L9,3.12L12.06,6.18L15.12,3.12L16.66,4.66L13.06,8.12V9.17C16.55,9.57 19,13.24 18.9,16.55C18.8,19.84 15.11,23 12,23C8.89,23 5.2,19.84 5.1,16.55C5,13.24 7.45,9.57 10.94,9.17V8.12Z"/>
            </svg>
          </div>
          <h3 class="card-title">宫颈癌诊断</h3>
          <p class="card-description">
            宫颈癌是威胁女性健康的主要肿瘤之一，定期筛查和深度学习模型辅助诊断可显著降低发病率和死亡率。平台集成多种诊断方式，提升宫颈癌筛查的智能化与便捷性。</p>
          <div class="card-action">
            <span>开始诊断</span>
            <el-icon>
              <ArrowRight/>
            </el-icon>
          </div>
        </div>
      </div>
    </section>

    <!-- 平台优势区域 -->
    <section class="advantages-section">
      <div class="section-header">
        <h2>平台优势</h2>
        <p>先进技术与医疗专业知识的完美结合</p>
      </div>

      <div class="advantages-grid">
        <div class="advantage-item">
          <div class="advantage-icon">
            <el-icon>
              <DataAnalysis/>
            </el-icon>
          </div>
          <h3>多模态输入</h3>
          <p>支持Excel表格数据和医学影像等多种输入方式，满足不同诊断场景需求</p>
        </div>

        <div class="advantage-item">
          <div class="advantage-icon">
            <el-icon>
              <Connection/>
            </el-icon>
          </div>
          <h3>深度学习模型</h3>
          <p>采用先进的深度学习算法，持续优化模型精度，提高诊断准确率</p>
        </div>

        <div class="advantage-item">
          <div class="advantage-icon">
            <el-icon>
              <Lock/>
            </el-icon>
          </div>
          <h3>安全可靠</h3>
          <p>严格的数据安全保障，保护患者隐私，符合医疗数据管理规范</p>
        </div>

        <div class="advantage-item">
          <div class="advantage-icon">
            <el-icon>
              <TrendCharts/>
            </el-icon>
          </div>
          <h3>实时高效</h3>
          <p>快速处理诊断请求，提供实时结果，高效辅助医生临床决策</p>
        </div>
      </div>
    </section>

    <!-- 使用指南部分 -->
    <section class="guide-section" id="guide">
      <div class="section-header">
        <h2>使用指南</h2>
        <p>快速了解平台的使用方法，开始您的诊断体验</p>
      </div>
      <div class="guide-content">
        <p class="guide-text">本平台操作简单直观，只需几个步骤即可完成诊断：</p>
        <div class="guide-steps">
          <div class="guide-step">
            <div class="step-number">1</div>
            <div class="step-content">
              <h3>选择诊断类型</h3>
              <p>根据需求选择乳腺癌或宫颈癌诊断</p>
            </div>
          </div>
          <div class="guide-step">
            <div class="step-number">2</div>
            <div class="step-content">
              <h3>上传数据</h3>
              <p>上传Excel表格数据或医学影像图片</p>
            </div>
          </div>
          <div class="guide-step">
            <div class="step-number">3</div>
            <div class="step-content">
              <h3>获取结果</h3>
              <p>系统分析后给出诊断建议和风险评估</p>
            </div>
          </div>
        </div>
      </div>
    </section>

    <!-- 关于我们部分 -->
    <section class="about-section" id="about">
      <div class="section-header">
        <h2>关于我们</h2>
        <p>致力于将人工智能技术应用于医疗健康领域</p>
      </div>
      <div class="about-content">
        <p class="about-text">
          集成医疗诊断平台由一支专业的医学和人工智能研究团队开发，团队成员:王子明、马勤伟、刘琼徽、李博,旨在通过深度学习技术辅助医生进行更精准的疾病诊断。
          我们与多家医疗机构合作，持续优化算法模型，为用户提供高质量的诊断服务。
        </p>
      </div>
    </section>

    <!-- 底部区域 -->
    <footer class="main-footer">
      <div class="footer-content">
        <p>© 2025 集成医疗诊断平台 | 专业医疗辅助诊断系统</p>
    </div>
    </footer>
  </div>
</template>

<script setup>
import {useRouter} from 'vue-router';
import {ref, inject, onMounted} from 'vue';
import {ArrowRight, DataAnalysis, Connection, Lock, TrendCharts} from '@element-plus/icons-vue';

const router = useRouter();
const backendReady = ref(true);

const navigateTo = (route) => {
  router.push(`/${route}`);
};

const scrollToSection = (sectionId) => {
  const element = document.getElementById(sectionId);
  if (element) {
    element.scrollIntoView({ behavior: 'smooth' });
  }
};

onMounted(() => {
  // 强制滚动到顶部，确保首页总是从顶部开始显示
  window.scrollTo({ top: 0, behavior: 'auto' });
});
</script>

<style scoped>
/* 基础样式 */
.home-container {
  width: 100%;
  min-height: 100vh;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background-color: #f9fafc;
}

/* 锚点样式，解决被固定导航栏遮挡的问题 */
section[id] {
  scroll-margin-top: 100px; /* 考虑固定导航栏的高度，确保滚动到正确位置 */
}

/* 英雄区域 */
.hero-section {
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 4%;
  padding-right: 4%;
  background: linear-gradient(135deg, #74ebd5 0%, #ACB6E5 100%);
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
  radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
  radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  color: white;
  z-index: 2;
  padding-top: 60px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  opacity: 0.95;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-description p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.primary-button, .secondary-button {
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.primary-button {
  background: #ffffff;
  color: #4A8FE7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.primary-button:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.secondary-button {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  border-color: white;
}

.hero-image {
  width: 400px;
  height: 400px;
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.animation-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pulse-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.5);
  animation: pulse 2s ease-out infinite;
}

.delay-1 {
  animation-delay: 0.6s;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.delay-2 {
  animation-delay: 1.2s;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.medical-icon {
  position: relative;
  z-index: 3;
  animation: rotate 15s linear infinite;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.medical-icon svg {
  stroke: #ffffff;
  stroke-width: 2;
}

/* 介绍区域 */
.intro-section {
  padding: 100px 50px;
  background: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #6757D1 0%, #4A8FE7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.section-header p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.feature-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  flex: 1;
  max-width: 550px;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #6757D1, #4A8FE7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.breast-icon {
  background: linear-gradient(135deg, #FF9FBF 0%, #FF6B98 100%);
  box-shadow: 0 5px 15px rgba(255, 107, 152, 0.3);
}

.cervical-icon {
  background: linear-gradient(135deg, #7CB9FF 0%, #4A86E8 100%);
  box-shadow: 0 5px 15px rgba(74, 134, 232, 0.3);
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.feature-card:hover .card-title {
  color: #4A8FE7;
}

.card-description {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 30px;
}

.card-action {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4A8FE7;
  font-weight: 600;
  transition: all 0.3s ease;
}

.feature-card:hover .card-action {
  transform: translateX(10px);
}

/* 平台优势区域 */
.advantages-section {
  padding: 100px 50px;
  background: #f5f7fa;
  position: relative;
  overflow: hidden;
}

.advantages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%236757d1' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.advantage-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6757D1 0%, #4A8FE7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(74, 143, 231, 0.25);
}

.advantage-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.advantage-item p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
}

/* 使用指南样式 */
.guide-section, .about-section {
  padding: 80px 50px;
  background: white;
}

.guide-section {
  background: linear-gradient(to bottom, #f5f7fa, white);
}

.about-section {
  background: linear-gradient(to bottom, white, #f5f7fa);
}

.guide-content, .about-content {
  max-width: 1000px;
  margin: 40px auto 0;
}

.guide-text, .about-text {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  text-align: center;
  margin-bottom: 40px;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
}

.guide-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}

.guide-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.guide-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #74ebd5, #ACB6E5);
  color: white;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* 底部区域 */
.main-footer {
  background: #2c3e50;
  color: white;
  padding: 30px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  opacity: 0.8;
  font-size: 14px;
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.8;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 120px 30px 80px;
    height: auto;
    min-height: 100vh;
  }

  .hero-content {
    margin-bottom: 50px;
    padding-top: 0;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    width: 300px;
    height: 300px;
  }

  .feature-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card {
    max-width: 100%;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .section-header h2 {
    font-size: 30px;
  }
  
  .section-header p {
    font-size: 16px;
  }
  
  .intro-section, .advantages-section {
    padding: 70px 30px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    width: 250px;
    height: 250px;
  }
  
  .pulse-circle {
    width: 200px;
    height: 200px;
  }
  
  .medical-icon {
    width: 150px;
    height: 150px;
  }
  
  .medical-icon svg {
    width: 80px;
    height: 80px;
  }

  .guide-section, .about-section {
    padding: 60px 30px;
  }
  
  .guide-steps {
    flex-direction: column;
    gap: 20px;
  }
  
  .guide-text, .about-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 30px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-description p {
    font-size: 14px;
  }
  
  .primary-button, .secondary-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .card-title {
    font-size: 20px;
  }
  
  .card-description {
    font-size: 14px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }

  .advantage-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .advantage-item h3 {
    font-size: 18px;
  }

  .advantage-item p {
    font-size: 14px;
  }

  .medical-icon {
    width: 120px;
    height: 120px;
  }
}
</style>